﻿using System;
using System.Collections.Generic;
using System.Text;
using Lswweb.Model;

namespace Lswweb.IDAL
{
    public interface ILink
    {
        LinkInfo GetLink(int Id);
        LinkInfo GetLink(string linkUrl);

        IList<LinkInfo> GetLinks(string searchKey,int itemId);

        int Insert(LinkInfo info);

        bool Update(LinkInfo info);

        bool UpdateDisplayOrder(int Id, int displayOrder);

        bool Delete(int Id);
    }
}
